package cn.cheneyjoo.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Employee extends BaseEntity{
    /*
    员工主键ID
     */
    private Integer e_id;
    /*
    员工编号
     */
    private String e_no;
    /*
    员工姓名
     */
    private String e_name;
    /*
    部门ID
     */
    private Integer dept_id;
    /*
    职位
     */
    private Integer e_section_id;
    /*
    入职时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date e_entrytime;
    /*
    联系方式
     */
    private String e_tel;



    public Integer getE_id() {
        return e_id;
    }

    public void setE_id(Integer e_id) {
        this.e_id = e_id;
    }

    public String getE_no() {
        return e_no;
    }

    public void setE_no(String e_no) {
        this.e_no = e_no;
    }

    public String getE_name() {
        return e_name;
    }

    public void setE_name(String e_name) {
        this.e_name = e_name;
    }

    public Integer getDept_id() {
        return dept_id;
    }

    public void setDept_id(Integer dept_id) {
        this.dept_id = dept_id;
    }

    public Integer getE_section_id() {
        return e_section_id;
    }

    public void setE_section_id(Integer e_section_id) {
        this.e_section_id = e_section_id;
    }

    public Date getE_entrytime() {
        return e_entrytime;
    }

    public void setE_entrytime(Date e_entrytime) {
        this.e_entrytime = e_entrytime;
    }

    public String getE_tel() {
        return e_tel;
    }

    public void setE_tel(String e_tel) {
        this.e_tel = e_tel;
    }
}
